package com.xqboss.apps.enums.consumer;

import com.xqboss.common.enums.BaseEnum;

/**
 * @author Administrator
 * @date 2023/8/17
 */
public enum InteractMsgEnum implements BaseEnum<Integer> {
    /**
     * 消息类型
     * 好友（0申请添加，1同意，2拒绝）
     * 队伍（3申请加入，4邀请加入，5同意加入，6拒绝加入，7退出队伍，8管理员变更，9增益结算，10点赞，11送爱心，12提醒打卡，13打卡成功）
     * 打卡（14即将打卡）
     */
    FRIEND_ADD(0, "申请添加好友"),
    FRIEND_CONSENT(1, "已成为好友"),
    FRIEND_REFUSE(2, "拒绝了添加好友"),
    TEAM_ADD(3, "申请加入队伍"),
    TEAM_INVITE(4, "邀请加入队伍"),
    TEAM_CONSENT(5, "同意加入队伍"),
    TEAM_REFUSE(6, "拒绝加入队伍"),
    TEAM_QUIT(7, "已退出队伍"),
    TEAM_QUIT_SECURE(71, "已解除亲属关系"),
    TEAM_QUIT_KICK(72, "已踢出队伍"),
    TEAM_ADMINISTRATOR(8, "管理员变更"),
    TEAM_SETTLEMENT(9, "增益结算"),
    TEAM_SUPPORT(10, "给您点赞1次~"),
    TEAM_LOVE(11, "给您送了1个爱心~"),
    TEAM_PUNCH(12, "提醒打卡~"),
    TEAM_PUNCH_SUCCESS(13, "打卡成功"),
    PUNCH_COMING(14, "即将打卡"),

    GUILD_JOIN_APPLY(20,"申请加入公会~"),
    GUILD_JOIN_SUCCESS(21,"加入公会成功~"),
    GUILD_JOIN_INVITE(22,"邀请加入公会~"),
    GUILD_kick_SUCCESS(23,"踢出公会成功~"),
    GUILD_DISSOLVE_SUCCESS(24,"公会解散成功~"),
    GUILD_TRANSFER_SUCCESS(25,"公会转让成功~"),
    GUILD_JOIN_APPLY_REJECT_SUCCESS(26,"申请加入公会拒绝成功~"),
    GUILD_JOIN_INVITE_REJECT_SUCCESS(22,"邀请加入公会拒绝成功~");

    private Integer value;
    private String msg;

    InteractMsgEnum(Integer value, String desc) {
        this.value = value;
        this.msg = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
